import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./styles/normalize.css"; //初始化样式
import "./js/flexible.js"; //flexble.js
import axios from "axios";
import VueAxios from "vue-axios";
Vue.use(VueAxios, axios);
//挂载全局
Vue.prototype.$axios = axios;
axios.defaults.baseURL = 'http://8.136.184.111:5011/'
// axios.defaults.baseURL = "http://192.168.1.102:5011/";
axios.defaults.withCredentials = true;
Vue.config.productionTip = false;
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// Vue.use(ElementUI);
import Mint from "mint-ui";
import "mint-ui/lib/style.css";
Vue.use(Mint);

// import { Message } from "element-ui";
// Vue.use(Message);
// Vue.prototype.$message = Message;
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
